package com.lovegu.object.middle;

/**
 * @author 老顾
 * @title: Person2
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/21 8:25
 */
public class Person2 {
    String name = "张三";
    protected int age;
    public String getInfo() {
        return "Name: " + name + "\nage: " + age;
    }
}
